<%@page import="domain.model.Whois"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html;charset=UTF-8" language="java"%>
<%
String ip = (String) request.getAttribute("ip");
String title = (String) request.getAttribute("title");
String description = (String) request.getAttribute("description");
String keywords = (String) request.getAttribute("keyword");
Whois whois = (Whois) request.getAttribute("listWhois");
%>
<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
</jsp:include>
		<div class="bd al">
			<div class="bdl l">
				<form action="/search-whois" class="sea">
					<input type="text" name="name"/>
					<button>Whois</button>
					<br/>
					Example Searches : <a href="/whois/childsgame.net">childsgame.net</a> , <a href="/whois/yooarticles.com">yooarticles.com</a>
				</form>
				<br/>
				<div class="whois l">	
					<h1 class="tt">Whois : <a href="/domain/<%=whois.getName()%>" class="h2a"><%=whois.getName()%></a></h1>

					<%=whois.getWhois().getValue()%>
				</div>
				<div class="whois_right r">
					<ul>
						<%
						if(whois.getUser()!=null && !whois.getUser().equals(""))
						{
						%>
						<li>
							<div class="w_left l">Owner : </div>
							<div class="w_right l"><a href="/owner/<%=whois.getAliasUser()%>"><%=whois.getUser()%></a></div>
							<div class="cl"></div>
						</li>
						<%
						}
						%>
						<%
						if(whois.getCreatedDate()!=null && !whois.getCreatedDate().equals(""))
						{
						%>
						<li>
							<div class="w_left l">Created : </div>
							<div class="w_right l"><a href="/created/<%=whois.getCreatedDate()%>"><%=whois.getCreatedDate()%></a></div>
							<div class="cl"></div>
						</li>
						<%
						}
						%>
						<%
						if(whois.getExpirationDate()!=null && !whois.getExpirationDate().equals(""))
						{
						%>
						<li>
							<div class="w_left l">Expiration : </div>
							<div class="w_right l"><a href="/expiration/<%=whois.getExpirationDate()%>"><%=whois.getExpirationDate()%></a></div>
							<div class="cl"></div>
						</li>
						<%
						}
						%>
						<%
						if(whois.getEmailString()!=null && !whois.getEmailString().equals(""))
						{
						%>
						<li>
							<div class="w_left l">Email : </div>
							<div class="w_right l"><%=whois.getEmailString() %></div>
							<div class="cl"></div>
						</li>
						<%
						}
						%>
						<%
						if(whois.getServerString()!=null && !whois.getServerString().equals(""))
						{
						%>
						<li>
							<div class="w_left l">Server : </div>
							<div class="w_right l"><%=whois.getServerString() %></div>
							<div class="cl"></div>
						</li>
						<%
						}
						%>
					</ul>
				</div>
				
			</div>
			<div class="bdr r">
				<h2>Your ip : <font><%=ip %></font></h2>
				<%@ include file='/adv/right250.jsp'%>
				<%@ include file='/element/menu_left.jsp'%>
			</div>
			<div class="cl"></div>
		</div>
<%@ include file='/layout/footer.jsp'%>